home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-08-07 | 1.9 KB | 74 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="1"
- "COUNT"="4"
- "UIPATH"="\Internet\Instant Messaging\AOL IM\"
- "NAME"="AOL IM URL Settings"
- "LANGUAGE"="VBScript"
- "VERSION"="1.22"
- "TEXT 1"="Default Server"
- "TEXT 2"="Default Port"
- "TEXT 3"="Second Server"
- "TEXT 4"="Second Port"
- "DESCRIPTION 1"="You can use this plug-in to change the options for AOL Instant Messenger (AIM) as well as CompuServe Instant Messenger (CSIM)."
- "DESCRIPTION 2"="This plug-in allows you to enter a custom server and port setting to use for logging onto the AOL Instant Messenger service."
- "DESCRIPTION 3"="The default values are "login.oscar.aol.com" for Server/Default Server, and "5190" for Port/Default Port."
- "DESCRIPTION 4"="AOL Instant Messenger can be obtained at http://www.aol.com/aim/."
- "DESCRIPTION 4"="CompuServe Instant Messenger can be obtained at http://www.compuserve.com/csim/."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
-
-
- sPath="HKCU\Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Server\"
- sV1="DefaultHost"
- sV2="DefaultPort"
- sV3="Host"
- sV4="Port"
-
- Sub Plugin_Initialize
- if RegPathExists(sPath) then
- s=RegReadValue(sPath & sV1)
- SetUIElement 1,s
-
- s=RegReadValue(sPath & sV2)
- SetUIElement 2,s
-
- s=RegReadValue(sPath & sV3)
- SetUIElement 3,s
-
- s=RegReadValue(sPath & sV4)
- SetUIElement 4,s
- else
- Disable
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call RegWriteValue(sPath & sV1,s,1)
-
- s=GetUIElement(2)
- Call RegWriteValue(sPath & sV2,s,1)
-
- s=GetUIElement(3)
- Call RegWriteValue(sPath & sV3,s,1)
-
- s=GetUIElement(4)
- Call RegWriteValue(sPath & sV4,s,1)
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-